/*
 * InsertCommand.h
 *
 *  Created on: 2022年10月4日
 *      Author: wocao
 */
#include "Command.h"
#ifndef COMMAND_INSERTCOMMAND_H_
#define COMMAND_INSERTCOMMAND_H_

class InsertCommand: public Command {
public:
	InsertCommand(Mque *pmq, string &name, long type, void *buf, int len);
	virtual rest exe() const;
	virtual ~InsertCommand() = default;
private:
	string name;
	long type;
	void *buf;
	int len;
};

#endif /* COMMAND_INSERTCOMMAND_H_ */
